package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class GoodsClassifyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public GoodsClassifyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public GoodsClassifyExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public GoodsClassifyExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        GoodsClassifyExample example = new GoodsClassifyExample();
        return example.createCriteria();
    }

    public GoodsClassifyExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public GoodsClassifyExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public GoodsClassifyExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public GoodsClassifyExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public GoodsClassifyExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andClassifyIdIsNull() {
            addCriterion("goodsclassify.ClassifyId is null");
            return (Criteria) this;
        }

        public Criteria andClassifyIdIsNotNull() {
            addCriterion("goodsclassify.ClassifyId is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyIdEqualTo(Integer value) {
            addCriterion("goodsclassify.ClassifyId =", value, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ClassifyId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClassifyIdNotEqualTo(Integer value) {
            addCriterion("goodsclassify.ClassifyId <>", value, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ClassifyId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClassifyIdGreaterThan(Integer value) {
            addCriterion("goodsclassify.ClassifyId >", value, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ClassifyId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClassifyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.ClassifyId >=", value, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ClassifyId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClassifyIdLessThan(Integer value) {
            addCriterion("goodsclassify.ClassifyId <", value, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ClassifyId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClassifyIdLessThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.ClassifyId <=", value, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ClassifyId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClassifyIdIn(List<Integer> values) {
            addCriterion("goodsclassify.ClassifyId in", values, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdNotIn(List<Integer> values) {
            addCriterion("goodsclassify.ClassifyId not in", values, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.ClassifyId between", value1, value2, "classifyId");
            return (Criteria) this;
        }

        public Criteria andClassifyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.ClassifyId not between", value1, value2, "classifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdIsNull() {
            addCriterion("goodsclassify.ParentClassifyId is null");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdIsNotNull() {
            addCriterion("goodsclassify.ParentClassifyId is not null");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdEqualTo(Integer value) {
            addCriterion("goodsclassify.ParentClassifyId =", value, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ParentClassifyId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdNotEqualTo(Integer value) {
            addCriterion("goodsclassify.ParentClassifyId <>", value, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ParentClassifyId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdGreaterThan(Integer value) {
            addCriterion("goodsclassify.ParentClassifyId >", value, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ParentClassifyId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.ParentClassifyId >=", value, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ParentClassifyId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdLessThan(Integer value) {
            addCriterion("goodsclassify.ParentClassifyId <", value, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ParentClassifyId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdLessThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.ParentClassifyId <=", value, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.ParentClassifyId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdIn(List<Integer> values) {
            addCriterion("goodsclassify.ParentClassifyId in", values, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdNotIn(List<Integer> values) {
            addCriterion("goodsclassify.ParentClassifyId not in", values, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.ParentClassifyId between", value1, value2, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.ParentClassifyId not between", value1, value2, "parentClassifyId");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("goodsclassify.`Level` is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("goodsclassify.`Level` is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("goodsclassify.`Level` =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Level` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("goodsclassify.`Level` <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Level` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("goodsclassify.`Level` >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Level` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.`Level` >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Level` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("goodsclassify.`Level` <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Level` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.`Level` <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Level` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("goodsclassify.`Level` in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("goodsclassify.`Level` not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.`Level` between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.`Level` not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("goodsclassify.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("goodsclassify.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("goodsclassify.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("goodsclassify.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("goodsclassify.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("goodsclassify.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("goodsclassify.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("goodsclassify.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("goodsclassify.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("goodsclassify.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("goodsclassify.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("goodsclassify.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("goodsclassify.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("goodsclassify.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andImageIsNull() {
            addCriterion("goodsclassify.Image is null");
            return (Criteria) this;
        }

        public Criteria andImageIsNotNull() {
            addCriterion("goodsclassify.Image is not null");
            return (Criteria) this;
        }

        public Criteria andImageEqualTo(String value) {
            addCriterion("goodsclassify.Image =", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Image = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageNotEqualTo(String value) {
            addCriterion("goodsclassify.Image <>", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Image <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageGreaterThan(String value) {
            addCriterion("goodsclassify.Image >", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Image > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualTo(String value) {
            addCriterion("goodsclassify.Image >=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Image >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageLessThan(String value) {
            addCriterion("goodsclassify.Image <", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Image < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualTo(String value) {
            addCriterion("goodsclassify.Image <=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Image <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageLike(String value) {
            addCriterion("goodsclassify.Image like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotLike(String value) {
            addCriterion("goodsclassify.Image not like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageIn(List<String> values) {
            addCriterion("goodsclassify.Image in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotIn(List<String> values) {
            addCriterion("goodsclassify.Image not in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageBetween(String value1, String value2) {
            addCriterion("goodsclassify.Image between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotBetween(String value1, String value2) {
            addCriterion("goodsclassify.Image not between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andIntroduceIsNull() {
            addCriterion("goodsclassify.Introduce is null");
            return (Criteria) this;
        }

        public Criteria andIntroduceIsNotNull() {
            addCriterion("goodsclassify.Introduce is not null");
            return (Criteria) this;
        }

        public Criteria andIntroduceEqualTo(String value) {
            addCriterion("goodsclassify.Introduce =", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Introduce = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroduceNotEqualTo(String value) {
            addCriterion("goodsclassify.Introduce <>", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Introduce <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroduceGreaterThan(String value) {
            addCriterion("goodsclassify.Introduce >", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Introduce > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroduceGreaterThanOrEqualTo(String value) {
            addCriterion("goodsclassify.Introduce >=", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Introduce >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroduceLessThan(String value) {
            addCriterion("goodsclassify.Introduce <", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Introduce < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroduceLessThanOrEqualTo(String value) {
            addCriterion("goodsclassify.Introduce <=", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Introduce <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroduceLike(String value) {
            addCriterion("goodsclassify.Introduce like", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceNotLike(String value) {
            addCriterion("goodsclassify.Introduce not like", value, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceIn(List<String> values) {
            addCriterion("goodsclassify.Introduce in", values, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceNotIn(List<String> values) {
            addCriterion("goodsclassify.Introduce not in", values, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceBetween(String value1, String value2) {
            addCriterion("goodsclassify.Introduce between", value1, value2, "introduce");
            return (Criteria) this;
        }

        public Criteria andIntroduceNotBetween(String value1, String value2) {
            addCriterion("goodsclassify.Introduce not between", value1, value2, "introduce");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("goodsclassify.Remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("goodsclassify.Remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("goodsclassify.Remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Remarks = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("goodsclassify.Remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Remarks <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("goodsclassify.Remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Remarks > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("goodsclassify.Remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Remarks >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("goodsclassify.Remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Remarks < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("goodsclassify.Remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Remarks <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("goodsclassify.Remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("goodsclassify.Remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("goodsclassify.Remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("goodsclassify.Remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("goodsclassify.Remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("goodsclassify.Remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andSortingIsNull() {
            addCriterion("goodsclassify.Sorting is null");
            return (Criteria) this;
        }

        public Criteria andSortingIsNotNull() {
            addCriterion("goodsclassify.Sorting is not null");
            return (Criteria) this;
        }

        public Criteria andSortingEqualTo(Integer value) {
            addCriterion("goodsclassify.Sorting =", value, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Sorting = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSortingNotEqualTo(Integer value) {
            addCriterion("goodsclassify.Sorting <>", value, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Sorting <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSortingGreaterThan(Integer value) {
            addCriterion("goodsclassify.Sorting >", value, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Sorting > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSortingGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.Sorting >=", value, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Sorting >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSortingLessThan(Integer value) {
            addCriterion("goodsclassify.Sorting <", value, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Sorting < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSortingLessThanOrEqualTo(Integer value) {
            addCriterion("goodsclassify.Sorting <=", value, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Sorting <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSortingIn(List<Integer> values) {
            addCriterion("goodsclassify.Sorting in", values, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingNotIn(List<Integer> values) {
            addCriterion("goodsclassify.Sorting not in", values, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.Sorting between", value1, value2, "sorting");
            return (Criteria) this;
        }

        public Criteria andSortingNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsclassify.Sorting not between", value1, value2, "sorting");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNull() {
            addCriterion("goodsclassify.IsShow is null");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNotNull() {
            addCriterion("goodsclassify.IsShow is not null");
            return (Criteria) this;
        }

        public Criteria andIsShowEqualTo(Boolean value) {
            addCriterion("goodsclassify.IsShow =", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.IsShow = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsShowNotEqualTo(Boolean value) {
            addCriterion("goodsclassify.IsShow <>", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.IsShow <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThan(Boolean value) {
            addCriterion("goodsclassify.IsShow >", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.IsShow > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanOrEqualTo(Boolean value) {
            addCriterion("goodsclassify.IsShow >=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.IsShow >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsShowLessThan(Boolean value) {
            addCriterion("goodsclassify.IsShow <", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.IsShow < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanOrEqualTo(Boolean value) {
            addCriterion("goodsclassify.IsShow <=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.IsShow <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsShowIn(List<Boolean> values) {
            addCriterion("goodsclassify.IsShow in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotIn(List<Boolean> values) {
            addCriterion("goodsclassify.IsShow not in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowBetween(Boolean value1, Boolean value2) {
            addCriterion("goodsclassify.IsShow between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotBetween(Boolean value1, Boolean value2) {
            addCriterion("goodsclassify.IsShow not between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("goodsclassify.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("goodsclassify.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("goodsclassify.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("goodsclassify.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("goodsclassify.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("goodsclassify.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("goodsclassify.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("goodsclassify.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("goodsclassify.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("goodsclassify.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("goodsclassify.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("goodsclassify.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("goodsclassify.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("goodsclassify.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("goodsclassify.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("goodsclassify.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("goodsclassify.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("goodsclassify.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("goodsclassify.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("goodsclassify.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("goodsclassify.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("goodsclassify.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("goodsclassify.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("goodsclassify.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("goodsclassify.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("goodsclassify.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("goodsclassify.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("goodsclassify.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("goodsclassify.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("goodsclassify.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("goodsclassify.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("goodsclassify.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("goodsclassify.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("goodsclassify.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("goodsclassify.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("goodsclassify.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("goodsclassify.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("goodsclassify.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("goodsclassify.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("goodsclassify.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("goodsclassify.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("goodsclassify.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("goodsclassify.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("goodsclassify.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("goodsclassify.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("goodsclassify.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("goodsclassify.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("goodsclassify.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("goodsclassify.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("goodsclassify.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("goodsclassify.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("goodsclassify.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("goodsclassify.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("goodsclassify.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("goodsclassify.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("goodsclassify.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("goodsclassify.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("goodsclassify.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("goodsclassify.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("goodsclassify.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(GoodsClassify.Column column) {
            addCriterion(new StringBuilder("goodsclassify.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("goodsclassify.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("goodsclassify.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("goodsclassify.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("goodsclassify.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private GoodsClassifyExample example;

        protected Criteria(GoodsClassifyExample example) {
            super();
            this.example = example;
        }

        public GoodsClassifyExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(GoodsClassify.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(GoodsClassify.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.GoodsClassifyExample example);
    }
}